#include "mainwindow.h"
#include "ui_mainwindow.h"

MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow)
{
    ui->setupUi(this);
}

MainWindow::~MainWindow()
{
    delete ui;
}

void MainWindow::on_conect_3_clicked()
{
    struct Login {
       QString nome;
       QString senha;
       int pos;
       char menssenha[14];
     };
     Login login;
      login.nome = ui-> user_3->text();
      login.senha=ui->pswd_3->text();
      login.pos=0;
      strcpy(login.menssenha,".....teste....");


   }
